.head {
  overflow: hidden;
  background-color: #333;
}

.topnav
{
	padding: 0px 300px;
}
.picture
{
	margin-left: 160px;
}
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
 padding: 14px 40px;
     /*上下左右的边距*/
  text-decoration: none;
  font-size: 17px;
}

div.img {
    margin: 30px;
    border: 1px solid #ccc;
    float: left;

    transition: all 0.6s; 
}

div.img:hover 
{
    border: 1px solid #777;
    transform: scale(1.2);  
}

div.img img 
{
    width: 100%;
  
}

div.desc 
{
    padding: 10px;
    text-align: center;
}

.page
{
  margin-bottom:  50px;
  font-family: arial;
  list-style: none;
  display: inline-block;
  padding-left: 600px;
}
.page li {
  display: inline;
 
  text-align: center;
}
.page a 
{
  float:left;
  display: block;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  margin-left: 3px;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 100%;
}
.page a:hover {
  background-color: #4DAD16;
}
.page a.active, .page a:active {
  background-color: #37B247;
}






/* Full-width input fields */
input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Extra styles for the cancel button */
.cancelbtn {
    padding: 14px 20px;
    background-color: #f44336;
}

/* Float cancel and signup buttons and add an equal width */
.cancelbtn,.signupbtn {float:left;width:50%}

/* Add padding to container elements */
.container {
    padding: 16px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #000;
    font-size: 40px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Clear floats */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
    .cancelbtn, .signupbtn {
       width: 100%;
    }
}